package yur.wedding.modules.sys.dao;

import yur.wedding.modules.sys.entity.SysMenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 菜单管理
 *
 * @author Yur
 * @email ${email}
 * @date 2021-11-09 21:15:11
 */
@Mapper
public interface SysMenuDao extends BaseMapper<SysMenuEntity> {

    /**
     * 根据父类菜单  查子菜单
     * @parami  父菜单id
     * @return
     */
    List<SysMenuEntity> queryListParentId(Long parentId);

    List<SysMenuEntity> queryNotButtonList();
}
